﻿namespace Way.Bus.WMS.ST.Model
{
    using System;
    using System.Runtime.CompilerServices;
    using Way.Bus.Model;
    using Way.EAP.DataAccess.Entity;
    using Way.Bus.WMS.Model;

    [EntityClassAttribut("ST_CustomerSlotting", "货位产品及用户关系表", IsOnAppendProperty = true)]
    public class ST_CustomerSlotting : BusinessBase
    {
        //客户ID
        [EntityForeignKey(typeof(ST_Customer), "ID")]
        [EntityField(8)]
        public int Kid { get; set; }

        //客户ID
        [EntityForeignKey(typeof(ST_Materials), "ID")]
        [EntityField(8)]
        public int Mid { get; set; }

        //货位ID
        [EntityForeignKey(typeof(WareHouse), "ID")]
        [EntityField(8)]
        public int Did { get; set; }

        //仓库ID
        [EntityForeignKey(typeof(WareHouse), "ID")]
        [EntityField(8)]
        public int Wid { get; set; }
        
    }
}

